//
//  YQAddressAddMoreCell.swift
//  MuYing
//
//  Created by tbb on 2019/8/1.
//  Copyright © 2019 TBB. All rights reserved.
//

import UIKit

class YQAddressAddMoreCell: YQAddressAddBaseCell {
    @objc lazy var moreBtn: QMUIButton = {
        let moreBtn = QMUIButton(type: .custom);
        moreBtn.isEnabled = false;
        moreBtn.imagePosition = .right;
        moreBtn.spacingBetweenImageAndTitle = 0;
        moreBtn.titleLabel?.font = UIFont.systemFont(ofSize: 15, weight: .regular);
        moreBtn.setTitleColor(UIColorFromHex(rgbValue: 0xC8C8C8), for: .normal);
        moreBtn.setImage(UIImage(named: "Address_add_more_icon"), for: .normal);
        return moreBtn;
    }()

    override func layoutSubviews() {
        super.layoutSubviews();
        self.contentView.addSubview(self.moreBtn);
        self.moreBtn.mas_makeConstraints { (make) in
            make?.centerY.mas_equalTo()(0);
            make?.right.mas_equalTo()(-12);
            make?.height.mas_equalTo()(21);
        }
    }

}

